package com.ruoyi.common.core.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计划状态对象 tb_shipment_status
 * 
 * @author ruoyi
 * @date 2023-10-13
 */
public class ShipmentStatus extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划状态id */
    private Long id;

    /** 父商品分类id */
    @Excel(name = "父商品分类id")
    private Long parentId;

    /** 祖级列表 */
    @Excel(name = "祖级列表")
    private String ancestors;

    /** 计划状态 */
    @Excel(name = "计划状态")
    private String nameStatus;

    /** 状态 */
    private Long statusId;

    /** 删除状态 0存在1删除 */
    @Excel(name = "删除状态 0存在1删除")
    private String deleteStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setAncestors(String ancestors) 
    {
        this.ancestors = ancestors;
    }

    public String getAncestors() 
    {
        return ancestors;
    }
    public void setNameStatus(String nameStatus) 
    {
        this.nameStatus = nameStatus;
    }

    public String getNameStatus() 
    {
        return nameStatus;
    }
    public void setDeleteStatus(String deleteStatus) 
    {
        this.deleteStatus = deleteStatus;
    }

    public String getDeleteStatus() 
    {
        return deleteStatus;
    }

    public Long getStatusId() {
        return statusId;
    }

    public void setStatusId(Long statusId) {
        this.statusId = statusId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("nameStatus", getNameStatus())
            .append("statusId",getStatusId())
            .append("deleteStatus", getDeleteStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
